const parseTimeRanges = (rangs:any)=>{
  const result : {start:number;end:number}[]= []

  for(let i=0 ;i<rangs.length;i++ ){
    result.push({
      start:rangs.start(i),
      end:rangs.end(i),
    })
  }

  return result

}

export default parseTimeRanges